Parse<T>(string) Method

Summary
Parses the specified string to an enumeration.
Syntax
C#
VB
C++
public static T Parse<T>( 
   this string value 
) 
<ExtensionAttribute()> 
Public Overloads Shared Function Parse(Of T)( _ 
   ByVal value As String _ 
) As T 
[ExtensionAttribute()] 
public: 
static _T^_ Parsegeneric<typename T> 
(  
   String^ value 
)  

Parameters

value
The string to parse.

Type Parameters

T
The enumeration type

Return Value

The enumeration value that corresponds to the string.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.